<?php

use fw\tool\Url;
use fw\base\Conf;

?>

<aside class="menu">
    <div class="face float-left">
    </div>
    <ul class="clear">
        <li>
            <a href="<?php echo Url::root(); ?>">文章</a>
        </li>
        <li>
            <a href="<?php echo Url::to('Doc/browse'); ?>">专栏</a>
        </li>
        <?php foreach (Conf::$all['page_list'] as $fo): ?>
            <li>
                <a href="<?php echo Url::to('Page/view', ['alias' => $fo['alias']]); ?>">
                    <?php echo $fo['title']; ?>
                </a>
            </li>
        <?php endforeach; ?>
    </ul>
</aside>
